﻿namespace Shop.Model.Dto.Admin.JurMunu;

public class MenuModifyDto
{
    /// <summary>
    /// 菜单ID
    /// </summary>
    public long Id { get; set; }

    /// <summary>
    /// 上级id,0是顶级
    /// </summary>           
    public long ParentId { get; set; }

    /// <summary>
    /// 菜单名称
    /// </summary>           
    public string MenuName { get; set; }

    /// <summary>
    /// 前端路由地址
    /// </summary>           
    public string? Path { get; set; }

    /// <summary>
    /// 后端API请求地址
    /// </summary>           
    public string? Component { get; set; }

    /// <summary>
    /// 类型,0菜单,1按钮
    /// </summary>           
    public int MenuType { get; set; }

    /// <summary>
    /// 权限标识
    /// </summary>           
    public string? Authority { get; set; }
}